home *** CD-ROM | disk | FTP | other *** search
- #!/bin/bash
-
- alias ls='ls --color'
- alias aemerge='ACCEPT_KEYWORDS="~x86" emerge'
- alias cp='cp -i'
- alias mv='mv -i'
-
-
- if [ $(tty) == /dev/tty6 ]; then
- dostartx=1
-
- CMDLINE=`cat /proc/cmdline`
- for x in ${CMDLINE}
- do
- case "${x}" in
- nox)
- dostartx=0
- ;;
- esac
- done
- if [ ${dostartx} == 1 ]; then
- echo "Starting a single user X Session"
- startx
- fi
- fi
-
- if [ $(tty) == /dev/tty1 ]; then
- cat /root/motd
- fi
-